<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
     <table>
      
      <c:forEach items="${articles }" var="item" varStatus="vs">
      
        <tr> 
        <td>${vs.index+1 }</td>
        <td>${item.id }</td><td>${item.content }</td>
        <td>${item.postTime }</td><td>${item.id }</td>
        <td><a href="ArticleEditServlet?id=${item.id }">编辑</a><a href="ArticleDeleteServlet?id=${item.id }">删除</a>
        </td>
        </tr>
      </c:forEach>
    
      </table>
</body>
</html>